using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;

namespace Thaire.Investment.Repository.Mapping
{

    class ObligationMap : ClassMap<Obligation>
    {

        public ObligationMap()
        {
            Table("OBLIGATION");
            Id(x => x.ID, "OBLIGATION_ID").GeneratedBy.Identity();

            Map(x => x.Name, "OBLIGATION_NAME");

        }


    }

}